class CreatePostThreads < ActiveRecord::Migration
  def self.up
    create_table :post_threads do |t|
      t.column :title, :string
    end
    add_column :posts, :thread_id, :integer
  end

  def self.down
    drop_table :post_threads
    remove_column :posts, :thread_id
  end
end
